package com.neusoft.userserver.domain;


import java.util.List;

/**
 * Created by macro on 2020/6/19.
 */

public class UserDTO {
    private Long userId;
    private String userName;
    private String userPassword;
    private String userDeptId;
    private String userRealname;
    private List<String> roles;

    public Long getId() {
        return userId;
    }

    public void setId(Long id) {
        this.userId = id;
    }

    public String getUsername() {
        return userName;
    }

    public void setUsername(String username) {
        this.userName = username;
    }

    public String getPassword() {
        return userPassword;
    }

    public void setPassword(String password) {
        this.userPassword = password;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public String getUserDeptId() {
        return userDeptId;
    }

    public void setUserDeptId(String userDeptId) {
        this.userDeptId = userDeptId;
    }

    public String getUserRealname() {
        return userRealname;
    }

    public void setUserRealname(String userRealname) {
        this.userRealname = userRealname;
    }

    @Override
    public String toString() {
        return "UserDTO{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userDeptId='" + userDeptId + '\'' +
                ", userRealname='" + userRealname + '\'' +
                ", roles=" + roles +
                '}';
    }
}
